package prc;

public class Mesaj {
	private String messageText;
	private User user;
	public Mesaj(String text, User user){
		user.incrementNrMsg();
		this.messageText = text;
		this.user = user;
	}
	
	public String getMessage(){
		return this.messageText;
	}
	public User getUser(){
		return this.user;
	}
}
